ROOT= ../..
include $(ROOT)/mk/hdr.mk

TARG=libstuff

PACKAGES += $(X11PACKAGES) xext xrandr xrender xinerama

OBJ=\
    	buffer		\
	clientutil	\
	client_readconfig	\
	event/buttonpress	\
	event/buttonrelease	\
	event/clientmessage	\
	event/configurenotify	\
	event/configurerequest	\
	event/destroynotify	\
	event/enternotify	\
	event/event		\
	event/expose		\
	event/focusin		\
	event/focusout		\
	event/ixp		\
	event/keypress		\
	event/keyrelease	\
	event/leavenotify	\
	event/mapnotify		\
	event/maprequest	\
	event/mappingnotify	\
	event/motionnotify	\
	event/propertynotify	\
	event/reparentnotify	\
	event/selection		\
	event/selectionclear	\
	event/selectionrequest	\
	event/unmapnotify	\
	event/xtime		\
	fmt/blprint		\
	fmt/bvlprint		\
	fmt/fmtbuf		\
	fmt/localefmt		\
	fmt/localelen		\
	fmt/lprint		\
	fmt/vlprint		\
	geom/get_sticky		\
	geom/quadrant		\
	geom/rect_contains_p	\
	geom/rect_haspoint_p	\
	geom/rect_intersect_p	\
	geom/rect_intersection	\
	init_screens	\
	map		\
	printevent	\
	util/_die	\
	util/closeexec	\
	util/comm	\
	util/doublefork	\
	util/emalloc	\
	util/emallocz	\
	util/erealloc	\
	util/estrdup	\
	util/estrndup	\
	util/fatal	\
	util/freelater	\
	util/getbase	\
	util/getint	\
	util/getlong	\
	util/getulong	\
	util/grep	\
	util/join	\
	util/max	\
	util/mfatal	\
	util/min	\
	util/nsec	\
	util/pathsearch	\
	util/refree	\
	util/reinit	\
	util/spawn3	\
	util/spawn3l	\
	util/stokenize	\
	util/strcasestr	\
	util/strend	\
	util/strlcat	\
	util/strlcatprint	\
	util/sxprint	\
	util/tokenize	\
	util/trim	\
	util/uniq	\
	util/unmask	\
	util/unquote	\
	util/utflcpy	\
	util/vector	\
	util/vsxprint	\
	x11/convpts	\
	x11/errors	\
	x11/ignored_xerrors	\
	x11/freestringlist	\
	x11/initdisplay	\
	x11/selection	\
	x11/sendevent	\
	x11/sendmessage	\
	x11/sync	\
	x11/x11		\
	x11/xatom	\
	x11/xft		\
	x11/colors/loadcolor	\
	x11/colors/parsecolor	\
	x11/colors/xftcolor	\
	x11/drawing/border	\
	x11/drawing/drawline	\
	x11/drawing/drawpoly	\
	x11/drawing/drawstring	\
	x11/drawing/fill	\
	x11/drawing/fillpoly	\
	x11/drawing/setgccol	\
	x11/focus/getfocus	\
	x11/focus/setfocus	\
	x11/geometry/XRect	\
	x11/geometry/addpt	\
	x11/geometry/divpt	\
	x11/geometry/eqpt	\
	x11/geometry/eqrect	\
	x11/geometry/insetrect	\
	x11/geometry/mulpt	\
	x11/geometry/rectaddpt	\
	x11/geometry/rectsetorigin	\
	x11/geometry/rectsubpt	\
	x11/geometry/subpt	\
	x11/images/allocimage	\
	x11/images/copyimage	\
	x11/images/freeimage	\
	x11/images/xftdrawable	\
	x11/insanity/gravitate	\
	x11/insanity/gethints	\
	x11/insanity/sethints	\
	x11/insanity/sizehint	\
	x11/keyboard/grabkeyboard	\
	x11/keyboard/ungrabkeyboard	\
	x11/keys/keycode	\
	x11/keys/parsekey	\
	x11/mouse/grabpointer	\
	x11/mouse/pointerscreen	\
	x11/mouse/querypointer	\
	x11/mouse/translate	\
	x11/mouse/ungrabpointer	\
	x11/mouse/warppointer	\
	x11/properties/changeprop_char	\
	x11/properties/changeprop_long	\
	x11/properties/changeprop_short	\
	x11/properties/changeprop_string	\
	x11/properties/changeprop_textlist	\
	x11/properties/changeprop_ulong	\
	x11/properties/changeproperty	\
	x11/properties/delproperty	\
	x11/properties/getprop	\
	x11/properties/getprop_long	\
	x11/properties/getprop_string	\
	x11/properties/getprop_textlist	\
	x11/properties/getproperty	\
	x11/properties/strlistdup	\
	x11/properties/windowname	\
	x11/shape/setshapemask	\
	x11/text/freefont	\
	x11/text/labelh	\
	x11/text/loadfont	\
	x11/text/textextents_l	\
	x11/text/textwidth	\
	x11/text/textwidth_l	\
	x11/windows/configwin	\
	x11/windows/createwindow	\
	x11/windows/createwindow_rgba	\
	x11/windows/createwindow_visual	\
	x11/windows/destroywindow	\
	x11/windows/findwin	\
	x11/windows/getwinrect	\
	x11/windows/lowerwin	\
	x11/windows/mapwin	\
	x11/windows/movewin	\
	x11/windows/raisewin	\
	x11/windows/reparentwindow	\
	x11/windows/reshapewin	\
	x11/windows/selectinput	\
	x11/windows/setborder	\
	x11/windows/sethandler	\
	x11/windows/setwinattr	\
	x11/windows/unmapwin	\
	x11/windows/window	\
	xext

include $(ROOT)/mk/lib.mk

